package service.impl;

import dao.DeptDao;
import dao.UserDao;
import dao.impl.DeptDaoImpl;
import dao.impl.UserDaoImpl;
import pojo.Dept;
import pojo.User;
import service.DeptService;
import service.UserService;

import java.util.List;

public class DeptServiceImpl implements DeptService {

   DeptDao deptDao = new DeptDaoImpl();

    @Override
    public List<Dept> findAll() {

        List<Dept> depts = deptDao.findAll();
        return depts;
    }



}
